import CryptoJS from 'crypto-js'

const md5 = (data: string) => {
    const encryptedData = CryptoJS.MD5(data).toString();
    return encryptedData;
}

export default md5